<?php get_header(); ?>

    <div class="mian imgs">
        <ul class="nav">
            <li><a href="<?php echo site_url('?post_type=tizis'); ?>" class="nav1 <?php if ( is_post_type_archive('tizis')) : echo 'active'; endif;?>">书法作品</a></li>
            <li><a href="<?php echo site_url('?post_type=yinzhangs'); ?>" class="nav2 <?php if ( is_post_type_archive('yinzhangs')) : echo 'active'; endif;?>">书法作品</a></li>
        </ul>
        <div id="wrapper">
            <div id="container">
            <?php $posts = query_posts($query_string . '&orderby=date&showposts=100'); ?>
				<?php if ( have_posts() ) : ?>
					<?php while ( have_posts() ) : the_post(); ?>
		                <div class="grid">
		                    <div class="imgholder">
		                    	<img class="lazy" src="<?php echo get_template_directory_uri(); ?>/dist/images/pixel.gif" data-original="<?php $url = wp_get_attachment_url(get_post_thumbnail_id($post->ID)); echo $url;?>"/>
		                    </div>
		                    <strong class="title"><?php the_title(); ?></strong>
		                    <p><?php the_excerpt();?> </p>
		                </div>
					<?php endwhile; ?>
				<?php endif; ?>
<!--                 <div class="grid">
                    <div class="imgholder"><img class="lazy" src="dist/images/pixel.gif" data-original="dist/images/1.jpg" width="175" /></div>
                    <strong>美女1</strong>
                    <p>Jquery瀑布流插件实现的jquery响应式网站图片无限加载瀑布流布局 点击查看》》》</p>
                </div> -->
            </div>
        </div>
        <div class="dialog" id="dialog">
            <div class="close-layer"><button class="close_btn"></button></div>
            <div class="pin-view-arrows">
                <button class="btn prev"></button>
                <button class="btn next"></button>
            </div>
            <div class="dialog-content">
                <p class="img"><img src="" class="dialog_img"></p>
                <h3 class="text-right dialog_title">联合国秘书长潘基文签署授予张朝翔先生世界文化发展事业第一位“最伟大的人民艺术家“证书</h3>
            </div>

        </div>

    </div>




<?php get_footer(); ?>